package com.github.shuaidd.model.dto;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import java.util.List;

/**
 * 描述 流程面板
 *
 * @author ddshuai
 * @date 2020-08-08 21:17
 **/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class DiagramPlaneDTO {

    @XmlAttribute(name = "id")
    private String id;

    @XmlAttribute(name = "bpmnElement")
    private String bpmnElement;

    @XmlElement(name = "bpmndi:BPMNEdge")
    private List<DiagramEdgeDTO> diagramEdges;

    @XmlElement(name = "bpmndi:BPMNShape")
    private List<DiagramShapeDTO> diagramShapes;
}
